let mixin = {
  filters: {
    formatDict(val, arr, id = 'id') {
			if(val) {
				let index = arr.findIndex(item => val == item[id]);
				if(index > -1 && (arr[index].dictValue)){
					return arr[index].dictValue
				}
				return val;
			}
			return '';
		}
  }
}
export default mixin;